package test.entity;

/**
 * @author zhenjie.Ji
 * @desc 上传车端密钥请求头
 * @date 2022/3/15 9:43
 */
public class UploadVehicleKeyRequest {
    /**
     * 车辆vin
     */
    private String vin;
    /**
     * 蓝牙模块序列号
     */
    private String bleMac;
    /**
     * 加密算法
     */
    private String encryptAlg;
    /**
     * 车端主密钥
     */
    private String vehicleMasterKey;
    /**
     * 产线灌装安全挑战码
     */
    private String version;

    public UploadVehicleKeyRequest() {
    }

    public UploadVehicleKeyRequest(String vin, String bleMac, String encryptAlg, String vehicleMasterKey, String version) {
        this.vin = vin;
        this.bleMac = bleMac;
        this.encryptAlg = encryptAlg;
        this.vehicleMasterKey = vehicleMasterKey;
        this.version = version;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getBleMac() {
        return bleMac;
    }

    public void setBleMac(String bleMac) {
        this.bleMac = bleMac;
    }

    public String getEncryptAlg() {
        return encryptAlg;
    }

    public void setEncryptAlg(String encryptAlg) {
        this.encryptAlg = encryptAlg;
    }

    public String getVehicleMasterKey() {
        return vehicleMasterKey;
    }

    public void setVehicleMasterKey(String vehicleMasterKey) {
        this.vehicleMasterKey = vehicleMasterKey;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "test.entity.UploadVehicleKeyRequest{" +
                "vin='" + vin + '\'' +
                ", bleMac='" + bleMac + '\'' +
                ", encryptAlg='" + encryptAlg + '\'' +
                ", vehicleMasterKey='" + vehicleMasterKey + '\'' +
                ", version='" + version + '\'' +
                '}';
    }
}
